-- GENERATED SPELL FOR [Gelkis Mauler] --


function spell0_4652(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_4652', 582, 1)
end

function Sorts_4652(pUnit, Event)
local choix_sorts_4652 = math.random(0, 0)
if choix_sorts_4652 == 0 then
pUnit:RegisterEvent('spell0_4652', 1, 1)
end
end

function mob4652_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4652', math.random(1500, 3000), 1)
end

function mob4652_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4652_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4652_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4652, 1, 'mob4652_Action')
RegisterUnitEvent(4652, 2, 'mob4652_Leave')
RegisterUnitEvent(4652, 3, 'mob4652_Kill')
RegisterUnitEvent(4652, 4, 'mob4652_Die')
